<!-- Modal -->
<div id="dequeueMessage" class="modal fade" role="dialog">
    <div class="modal-dialog">

        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Dequeue a Message</h4>
            </div>
            <div class="modal-body">

                <p>This will dequeue the message from the queue and hence message cannot will not be available in the queue</p>

                <form class="dequeue-message-form" action="#" onsubmit="dequeueMessage()">
                    <div class="form-group">
                        <label>Name</label>
                        <input class="form-control table-name" name="queue" type="text" placeholder="Enter the name of the Queue">
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" data-dismiss="modal" onclick="dequeueMessage()">Dequeue</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>